package com.supplychainapi.domain;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

@ApiModel(value="角色实体", description = "角色实体")
public class RoleEntity {
    @ApiModelProperty(value="角色id", required = true)
    private String fsRoleId;

    @ApiModelProperty(value="角色名称", required = true)
    private String fsRoleName;

    @ApiModelProperty(value="状态", required = true)
    private Integer fiStatus;

    @ApiModelProperty(value="数据权限", required = true)
    private Integer fiDataKind;

    @ApiModelProperty(value="状态中文", required = true)
    private String fiStatusName;

    @ApiModelProperty(value="数据来源", required = true)
    private String fsDataSource;

    @ApiModelProperty(value="创建时间", required = true)
    @JSONField(format="yyyy-MM-dd")
    private Date fsCreateTime;

    public String getFsRoleId() {
        return fsRoleId;
    }

    public void setFsRoleId(String fsRoleId) {
        this.fsRoleId = fsRoleId;
    }

    public String getFsRoleName() {
        return fsRoleName;
    }

    public void setFsRoleName(String fsRoleName) {
        this.fsRoleName = fsRoleName;
    }

    public Integer getFiStatus() {
        return fiStatus;
    }

    public void setFiStatus(Integer fiStatus) {
        this.fiStatus = fiStatus;
    }

    public Integer getFiDataKind() {
        return fiDataKind;
    }

    public void setFiDataKind(Integer fiDataKind) {
        this.fiDataKind = fiDataKind;
    }

    public String getFiStatusName() {
        return fiStatusName;
    }

    public void setFiStatusName(String fiStatusName) {
        this.fiStatusName = fiStatusName;
    }

    public String getFsDataSource() {
        return fsDataSource;
    }

    public void setFsDataSource(String fsDataSource) {
        this.fsDataSource = fsDataSource;
    }

    public Date getFsCreateTime() {
        return fsCreateTime;
    }

    public void setFsCreateTime(Date fsCreateTime) {
        this.fsCreateTime = fsCreateTime;
    }
}
